/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-05-29     甘泽       the first version
 */
#ifndef APPLICATIONS_GPS_GPS_H_
#define APPLICATIONS_GPS_GPS_H_

#include <stm32f4xx_hal.h>
#include <lwgps.h>

#define M8N_DEV_NAME "m8n_GPS"

#define M8N_ODR_MAX 10
#define M8N_ODR_NORMAL 1

/* CMD */
#define M8N_CMD_SET_ODR 1

int rt_m8n_gps_register(void);

int update_nmea_data(uint8_t *buf, uint16_t data_len);

#endif /* APPLICATIONS_GPS_GPS_H_ */
